<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>字体</title>
  <style>
    /* 给body添加属性，所有的body子元素都会继承 */
    body {
      /* 设置字体样式 英文字体 */
      /* font-family: Arial, Helvetica, sans-serif; */
      /* 中文字体 */
      font-family: "Microsoft YaHei","微软雅黑";


      /* 字体大小 默认大小是16px*/
      font-size: 18px;

      /* 行高 */
      line-height: 1.8em;
    }

    #welcome p span {
      /* 字体加粗 */
      font-weight: bold;
    }

    #about p span {
      color: red;
      /* 字体样式:斜体 */
      font-style: italic;
    }
  </style>
</head>

<body>
  <div id="welcome">
    <h2 class="primary-heading">米斯特吴</h2>
    <p>
      Lorem ipsum dolor sit amet consectetur adipisicing elit.
      Recusandae dolorem eveniet dolorum maxime sed natus veniam qui voluptatem itaque cumque!
      <span>perspiciatis nobis</span>  animi suscipit, facilis dignissimos. Nemo, nisi voluptate!
    </p>
  </div>
  <div id="about">
    <h2>关于米斯特吴</h2>
    <p>
      Lorem ipsum dolor sit amet, consectetur adipisicing elit.
      Quod sunt, soluta possimus aliquid molestias aliquam beatae,
      commodi <span>nobis aperiam</span> ea repellat provident adipisci rem reprehenderit?
      Vitae suscipit nisi odit laborum?
    </p>
  </div>
</body>

</html>